<%@ page language="java" pageEncoding="utf-8"%>
<script type="text/javascript">
	function getArea() {
		/*
			listlayer = $.layer({
				type : 2,
				shade : [ 1 ],
				fix : false,
				title : '选择区域',
				maxmin : true,
				iframe : {
					src : '${path}/ix/bank/get_location.htm'
				},
				shadeClose: true,
				area : [ '300px', '440px' ],
				success : function(layer) { 
				// 这里定义弹出层加载成功后要执行的内容
					$("#xubox_iframe1").css("width", "290px");
				}
			});  */

		$.layer({
			type : 2,
			shadeClose : false,
			title : false,
			closeBtn : [ 1, true ],
			shade : [ 0.1, '#000' ],
			border : [ 0 ],
			offset : [ '20px', '' ],
			area : [ '350px', ($(window).height() - 50) + 'px' ],
			iframe : {
				src : '${path}/ix/bank/get_userbank.htm'
			}
		});
	}

	function save(id, name, code, city_name) {
		$("input[name='bank_name']").val(name + "(" + code + ")");
		$("input[name='bank_id']").val(id);
		$("#bank_name").text(name + "(" + code + ")");
		layer.closeAll();
	}
</script>
